package com.kbs.im.common.protocol.packet.request;

import com.kbs.im.common.protocol.command.Command;
import com.kbs.im.common.protocol.packet.BasePacket;
import lombok.Data;

/**
 * 消息请求体
 *
 * @author zhangzhang
 */
@Data
public class MessageRequestPacket extends BasePacket {

    private String toUserId;

    private String message;

    @Override
    public int getCommand() {
        return Command.MESSAGE_REQUEST.getCode();
    }
}
